package com.lzh.service.impl;

import com.github.pagehelper.PageHelper;
import com.lzh.bean.SupplierContact;
import com.lzh.common.bean.PageBean;
import com.lzh.mapper.SupplierContactMapper;
import com.lzh.query.SupplierContactQuery;
import com.lzh.query.SupplierQuery;
import com.lzh.service.SupplierContactService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;
import java.util.Map;

@Service
public class SupplierContactServiceImpl implements SupplierContactService {

    @Autowired
    SupplierContactMapper supplierContactMapper;

    @Override
    public PageBean query(SupplierContactQuery query) {
        //分页查询
        PageHelper.startPage(query.getPage(), query.getPageSize());
        List query1 = supplierContactMapper.query(query);

        return null;
    }
}
